/**
 * 封装token存储和获取等方法：
 * 1. 存储token
 * 2. 获取token
 * 3. 删除token
 */
// 存储key名字(复用)
const big_token = 'big_token'

export function setToken (token) {
  localStorage.setItem(big_token, token)
}
/**
 * 获取token
 */
export function getToken () {
  return localStorage.getItem(big_token)
}

export function delToken () {
  localStorage.removeItem(big_token)
}
